package net.zbus.rpc;

public class RpcFactoryExample {
	public static void main(String[] args) throws Throwable { 
		
		ServiceInterface rpc = RpcFactory.getService(
				ServiceInterface.class, 
				"zbus://localhost:15555/EIP"); 
		User res = rpc.user("邹维");
		System.out.println(res);
		 
		RpcFactory.destroy();
	}
}
